package customerEnter.Frame.Utils;

/**
 * 
 * 
 * 类名称：HttpSpecialString 类描述： 创建人：dy 创建时间：2016-11-22 下午1:59:15
 * 
 */
public class HttpSpecialString {

	/**
	 * 把 "《 kong 》" 替換成 &nbsp 把《 bai 》替換成% 把《 and 》 替換成&
	 */
	public static String releString(String string) {
		String kong = "<kong>";
		String bai = "<bai>";
		String and = "<and>";
		String jin = "<jin>";
		String value = "";
		value = string.replace(kong, "&nbsp");
		value = value.replace(bai, "%");
		value = value.replace(and, "&");
		value = value.replace(jin, "#");
		return value;
	}
}
